package com.dyc.caradvertisting.ui.fmt.tab.mine.details;

import com.dyc.caradvertisting.bean.req.RequestBean;
import com.dyc.caradvertisting.constants.Constant;
import com.dyc.caradvertisting.ui.fmt.tab.store.GoodsContract;

import java.util.Map;

import rx.Observable;
import rx.Observer;


/**
 * Created by niejiahuan on 2016/5/31.
 */
public class MineDetailsPresenter extends MineDetailsContract.Presenter {


    @Override
    public Observable getDate(Map<String, String> params) {
        return null;
    }

    @Override
    public void onStart() {

    }

    @Override
    public void reqChangeUserInfo(String param) {
        RequestBean requestBean = new RequestBean(Constant.REQ_USERMOD_INFO, param);
        mModel.reqChangeUserInfo(requestBean.getAct() + "",
                requestBean.getAct() + "",
                requestBean.getParam(),
                requestBean.getSign(),
                requestBean.getStrtime() + "").subscribe(new Observer() {
            @Override
            public void onCompleted() {

            }

            @Override
            public void onError(Throwable e) {

            }

            @Override
            public void onNext(Object o) {

            }
        });
    }
}
